home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / src-aux / Makefile.NeXT < prev    next >
Encoding:
Makefile  |  1996-12-02  |  1.4 KB  |  61 lines

  1. # Makefile for aux toolkit for NeXT contributed by Pascal Thibaudeau
  2. # (pthibaud@frbdx11.cribx1.u-bordeaux.fr)
  3.  
  4. # Mesa 3-D graphics library
  5. # Version:  2.0
  6. # Copyright (C) 1995-1996  Brian Paul
  7. #
  8. # This library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Library General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2 of the License, or (at your option) any later version.
  12. #
  13. # This library is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16. # Library General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Library General Public
  19. # License along with this library; if not, write to the Free
  20. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.  
  23. # $Id$
  24.  
  25. # $Log$
  26.  
  27.  
  28. ##### MACROS #####
  29.  
  30. VPATH = RCS
  31.  
  32. INCDIR = ../include
  33. LIBDIR = ../lib
  34.  
  35. OBJECTS =   image.o shapes.o teapot.o vect3d.o xxform.o glaux.o
  36.  
  37. ##### RULES #####
  38.  
  39. .c.o:
  40.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  41.  
  42. ##### TARGETS #####
  43.  
  44. default:
  45.     @echo "Specify a target configuration"
  46.  
  47. clean:
  48.     -rm *.o *~
  49.  
  50. targets: $(LIBDIR)/$(AUX_LIB)
  51.  
  52. # Make the library
  53. $(LIBDIR)/$(AUX_LIB): $(OBJECTS)
  54.     $(MAKELIB) $(AUX_LIB) $(OBJECTS)
  55.     $(RANLIB) $(AUX_LIB)
  56.     mv $(AUX_LIB)* $(LIBDIR)
  57.  
  58. include ../Make-config
  59.  
  60.  
  61.